class Student:
    def __init__(
        self,
        code_at_db_1C,
        last_name,
        first_name,
        middle_name,
        group,
        year_of_enrollment,
        email
    ):
        self.__id = code_at_db_1C #Код
        self.__first_name = str(first_name) #Имя
        self.__last_name = str(last_name) #Фамилия
        self.__middle_name = str(middle_name) #Отчество
        if not group == None:
            self.__group = str(group) #Группа
        else:
            self.__group = "Не указана" #Группа
        self.__year_of_enrollment = str(year_of_enrollment) #Год зачисления
        self.__email = str(email) #Электронная почта

    def set_id(self, id):
        self.__id = id

    def get_id(self):
        return self.__id
    
    def set_first_name(self, first_name):
        self.__first_name = first_name

    def get_first_name(self):
        return self.__first_name
    
    def set_last_name(self, last_name):
        self.__last_name = last_name

    def get_last_name(self):
        return self.__last_name
    
    def set_middle_name(self, middle_name):
        self.__middle_name = middle_name

    def get_middle_name(self):
        return self.__middle_name
    
    def set_group(self, group):
        self.__group = group

    def get_group(self):
        return self.__group
    
    def set_year_of_enrollment(self, year_of_enrollment):
        self.__year_of_enrollment = year_of_enrollment

    def get_year_of_enrollment(self):
        return self.__year_of_enrollment
    
    def set_email(self, email):
        self.__email = email

    def get_email(self):
        return self.__email